#ifndef OS_CFG_H
#define OS_CFG_H

#define GDT_TABLE_SIZE          256

#define KERNEL_SELECTOR_CS      (1 << 3)
#define KERNEL_SELECTOR_DS      (2 << 3)
#define SELECTOR_SYSCALL        (3 << 3)
#define KERNEL_STACK_SIZE       (8 << 10)

#define OS_TICKS_MS             10              // 系统每10ms产生一次中断
#define IDLE_TASK_STACK_SIZE    1024

#define OS_VERSION              "0.0.1"

#define TASK_NR                 128

#define ROOT_DEV                DEV_DISK, 0xb1  // 定义根文件系统

#endif